package com.woniuxy.entity.DTO;


import java.util.Date;
import java.io.Serializable;

/**
 * (ShopProducts)实体类
 *
 * @author makejava
 * @since 2025-07-10 11:41:15
 */
public class ShopProductsDTO implements Serializable {
    private static final long serialVersionUID = -35736190053191327L;
    /**
     * id
     */
    private Long id;
    private Boolean iskill;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 分类id
     */
    private Long categoryId;
    /**
     * 价格
     */
    private Integer price;
    /**
     * 原价
     */
    private Double originalPrice;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 销量
     */
    private Integer sales;
    /**
     * 商品描述
     */
    private String description;
    /**
     * 1-正常，0-下架
     */
    private Integer status;
    private String img;
    /**
     * 1-热销，0-普通
     */
    private Integer isHot;
    /**
     * 1-推荐，0-普通
     */
    private Integer isRecommend;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    public ShopProductsDTO() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getIskill() {
        return iskill;
    }

    public void setIskill(Boolean iskill) {
        this.iskill = iskill;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public ShopProductsDTO(Long id, Boolean iskill, String name, Long categoryId, Integer price, Double originalPrice, Integer stock, Integer sales, String description, Integer status, String img, Integer isHot, Integer isRecommend, Date createTime, Date updateTime) {
        this.id = id;
        this.iskill = iskill;
        this.name = name;
        this.categoryId = categoryId;
        this.price = price;
        this.originalPrice = originalPrice;
        this.stock = stock;
        this.sales = sales;
        this.description = description;
        this.status = status;
        this.img = img;
        this.isHot = isHot;
        this.isRecommend = isRecommend;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}

